From: Jan Djärv Date: Fri, 16 Jan 2004 10:21:54 +0000 (+0000) Subject: * xterm.c (handle_one_xevent): Don't handle characters that are part X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24480 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=37100413d2c8c3189c2e0c261c03b3797a0bef4f;p=emacs.git * xterm.c (handle_one_xevent): Don't handle characters that are part of an old style (XLookupString) compose sequence. --- diff --git a/src/ChangeLog b/src/ChangeLog index c9b669764a1..67b478d21f5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-01-16 Jan Dj,Ad(Brv + + * xterm.c (handle_one_xevent): Don't handle characters that are part + of an old style (XLookupString) compose sequence. + 2004-01-15 Kenichi Handa * search.c (Freplace_match): Use make_multibyte_string or diff --git a/src/xterm.c b/src/xterm.c index 635ba643035..2c6cb44d159 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6305,6 +6305,11 @@ handle_one_xevent (dpyinfo, eventp, bufp_r, numcharsp, finish) &compose_status); #endif + /* If not using XIM/XIC, and a compose sequence is in progress, + we break here. Otherwise, chars_matched is always 0. */ + if (compose_status.chars_matched > 0 && nbytes == 0) + break; + orig_keysym = keysym; if (numchars > 1)